package pub.tbc.hh.payment.service;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author tbc  by 2018/6/3
 */
@Service("paymentService")
public class PaymentServiceSelector implements PaymentService {

    @Resource(name = "weixin")
    private PaymentService weixin;

    @Resource(name = "unionGateway")
    private PaymentService unionGateway;

    @Override
    public String pay(Map<String, String> payParam, PaymentType paymentType) {
        return null;
    }
}
